const db = require('./db')

const Schema = db.Schema

const emailSchema = new Schema({
    name: String,
    address: String,
    state: { type: Number, default: 1 },
    createTime: { type: Date, default: Date.now }
})

module.exports = emailSchema